/**
 * @author Mike
 * @date 2017/06/05
 * @desc API接口请求
 */

 import fetch from 'isomorphic-fetch';
 

 export default  class httpRequest {

	 //get
	 get (api,parmas) {
	 
	 }
	 
	 //post
	 post (api,parmas) {

	 }
     
     //带附件的表单提交
	 postForm (form) {

	 }
     
     //请求成功回调处理
	 handleSuccess (response) {

	 }

	 //请求失败回调处理
	 handleError (response) {

	 }

}


 